package com.shujia.oopexer.exer1;

public class OOPDemo {

    public static void main(String[] args) {
        Son son1 = new Son();
        Son son2 = new Son();

    }

}

class Father {
    static {
        System.out.println("father ... 静态代码块");
    }

    public Father() {
        System.out.println("father 构造方法...");
    }
}


class Son extends Father {
    static {
        System.out.println("son	静态代码块");
    }


    public Son() {
        System.out.println("son	构造方法");
    }
}
